package com.shanzmoo.admin.domain.dto;

import cn.hutool.core.bean.BeanUtil;
import com.shanzmoo.db.sys.entity.SysBillCountEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 系统单号计数表 更新对象
 *
 * @author Gzhao 2021-03-04
 */
@Data
@ApiModel("系统单号计数表-更新对象")
public class SysBillCountUpdateDTO extends SysBillCountSaveDTO{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    private Integer id;




    public SysBillCountEntity convertEntity() {
        SysBillCountEntity target = new SysBillCountEntity();
        BeanUtil.copyProperties(this, target, true);
        return target;
    }
}
